[DEPRECATED] Use form field endpoints instead. Update a specific custom field option by id
curl --request PUT \
--url https://api.rootly.com/v1/custom_field_options/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "custom_field_options",
"attributes": {
"value": "<string>",
"color": "<string>",
"default": true,
"position": 123
}
}
}'
{
"data": {
"id": "1",
"type": "custom_field_options",
"attributes": {
"custom_field_id": 127,
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-07-30T02:08:49.256-07:00",
"created_at": "2025-07-30T02:08:48.340-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
custom_field_option updated
The response is of type object
.
curl --request PUT \
--url https://api.rootly.com/v1/custom_field_options/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "custom_field_options",
"attributes": {
"value": "<string>",
"color": "<string>",
"default": true,
"position": 123
}
}
}'
{
"data": {
"id": "1",
"type": "custom_field_options",
"attributes": {
"custom_field_id": 127,
"value": "Test update option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-07-30T02:08:49.256-07:00",
"created_at": "2025-07-30T02:08:48.340-07:00"
}
}
}